Optimal. Leaf size=67 \[ \frac{2 \sqrt{\cos (c+d x)} \text{EllipticF}\left (\frac{1}{2} (c+d x),2\right ) \sqrt{b \sec (c+d x)}}{3 d}+\frac{2 b \sin (c+d x)}{3 d \sqrt{b \sec (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0516895, antiderivative size = 67, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.19, Rules used = {16, 3769, 3771, 2641} \[ \frac{2 b \sin (c+d x)}{3 d \sqrt{b \sec (c+d x)}}+\frac{2 \sqrt{\cos (c+d x)} F\left (\left .\frac{1}{2} (c+d x)\right |2\right ) \sqrt{b \sec (c+d x)}}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 3769
Rule 3771
Rule 2641
Rubi steps
\begin{align*} \int \cos ^2(c+d x) \sqrt{b \sec (c+d x)} \, dx &=b^2 \int \frac{1}{(b \sec (c+d x))^{3/2}} \, dx\\ &=\frac{2 b \sin (c+d x)}{3 d \sqrt{b \sec (c+d x)}}+\frac{1}{3} \int \sqrt{b \sec (c+d x)} \, dx\\ &=\frac{2 b \sin (c+d x)}{3 d \sqrt{b \sec (c+d x)}}+\frac{1}{3} \left (\sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}\right ) \int \frac{1}{\sqrt{\cos (c+d x)}} \, dx\\ &=\frac{2 \sqrt{\cos (c+d x)} F\left (\left .\frac{1}{2} (c+d x)\right |2\right ) \sqrt{b \sec (c+d x)}}{3 d}+\frac{2 b \sin (c+d x)}{3 d \sqrt{b \sec (c+d x)}}\\ \end{align*}
Mathematica [A] time = 0.0513573, size = 51, normalized size = 0.76 \[ \frac{\sqrt{b \sec (c+d x)} \left (2 \sqrt{\cos (c+d x)} \text{EllipticF}\left (\frac{1}{2} (c+d x),2\right )+\sin (2 (c+d x))\right )}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.164, size = 123, normalized size = 1.8 \begin{align*} -{\frac{ \left ( -2+2\,\cos \left ( dx+c \right ) \right ) \left ( \cos \left ( dx+c \right ) +1 \right ) ^{2}}{3\,d \left ( \sin \left ( dx+c \right ) \right ) ^{3}} \left ( i{\it EllipticF} \left ({\frac{i \left ( -1+\cos \left ( dx+c \right ) \right ) }{\sin \left ( dx+c \right ) }},i \right ) \sqrt{ \left ( \cos \left ( dx+c \right ) +1 \right ) ^{-1}}\sqrt{{\frac{\cos \left ( dx+c \right ) }{\cos \left ( dx+c \right ) +1}}}\sin \left ( dx+c \right ) - \left ( \cos \left ( dx+c \right ) \right ) ^{2}+\cos \left ( dx+c \right ) \right ) \sqrt{{\frac{b}{\cos \left ( dx+c \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec \left (d x + c\right )} \cos \left (d x + c\right )^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\sqrt{b \sec \left (d x + c\right )} \cos \left (d x + c\right )^{2}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec{\left (c + d x \right )}} \cos ^{2}{\left (c + d x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec \left (d x + c\right )} \cos \left (d x + c\right )^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]